package NamedParameterJdbcTemplate;

import org.springframework.stereotype.Component;

@Component//隐式创建bean
public class Person {

    private int id_identity;
    private String username;
    private String password;
    private String first_name;
    private String last_name;
    private String email;

    public int getId_identity() {
        return id_identity;
    }

    public void setId_identity(int id_identity) {
        this.id_identity = id_identity;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFirst_name() {
        return first_name;
    }

    public void setFirst_name(String first_name) {
        this.first_name = first_name;
    }

    public String getLast_name() {
        return last_name;
    }

    public void setLast_name(String last_name) {
        this.last_name = last_name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Person() {

    }

    public Person(int id_identity, String username, String password, String first_name, String last_name, String email) {
        this.id_identity = id_identity;
        this.username = username;
        this.password = password;
        this.first_name = first_name;
        this.last_name = last_name;
        this.email = email;
    }

    }
